LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

Remove(KeyValuePair<TKey,TValue>) Method







The key of the element to remove.
Removes the value with the specified key from the DictionaryWithEvents<TKey,TValue>.
Syntax
public bool Remove( 
   KeyValuePair<TKey,TValue> item
)
'Declaration
 
Public Overloads Function Remove( _
   ByVal item As KeyValuePair(Of TKey,TValue) _
) As Boolean
'Usage
 
Dim instance As DictionaryWithEvents(Of TKey,TValue)
Dim item As KeyValuePair(Of TKey,TValue)
Dim value As Boolean
 
value = instance.Remove(item)
public bool Remove( 
   KeyValuePair<TKey,TValue> item
)
 function Leadtools.Medical.Workstation.DictionaryWithEvents.Remove(KeyValuePair{`0,`1})( 
   item 
)
public: bool Remove( 
   KeyValuePair<TKey*,TValue*> item
) 
public:
bool Remove( 
   KeyValuePair<TKey*,TValue*> item
) 

Parameters

item
The key of the element to remove.

Return Value

true if the element is successfully found and removed; otherwise, false. This method returns false if key is not found in the DictionaryWithEvents<TKey,TValue>.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DictionaryWithEvents<TKey,TValue> Class
DictionaryWithEvents<TKey,TValue> Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.